import RPi.GPIO as G
import time

G.setmode(G.BOARD)
G.setwarnings(False)
# 11: red 12: green
G.setup((11,12),G.OUT)
for i in range(5):
    G.output(12,1)
    time.sleep(1)
    G.output(12,0)
    G.output(11,1)
    time.sleep(1)
    G.output(11,0)
G.cleanup()
